package com.bw.dg.dao;

import com.bw.dg.pojo.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface UserDao {
    List getUserList();


    List getUser();

    void add(User user);

    String[] del(@Param("id") String id);

    List UsersList(@Param("mohu")String mohu);

    User huixian(@Param("id") int id);



    User findByName(String name);

    void update(User user1);

    User login(User user);
}
